import { createApp } from "vue";
import router, { setupRouter } from "@/router";
import "./style/public.sass";
import App from "./App.vue";

async function initAPP() {
    const app = createApp(App);
    setupRouter(app);
    await router.isReady();
    app.mount("#app", true);
    window["$vue"] = app;
}

initAPP().then(() => {});

